import axios from "@/util/request";

export const login = (body) => {
    return axios({
        method: 'post',
        url: '/auth/login',
        data: body,
    })
};


export const register = (body) => {
    return axios({
        method: 'post',
        url: '/auth/register',
        data: body,
    })
};
